<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<jsp:useBean id="m" class="lang.Zh_tw_Bean"></jsp:useBean>
<jsp:useBean id="m2" class="login.LoginBean" scope="request"></jsp:useBean>
<!DOCTYPE html>
<html>


<head>
<meta charset="UTF-8">

<!-- 設定語言元件 -->
<style type="text/css">
.title {
	background-color: #F5F5F5;
	color: #1A8CFF;
	font-size: large;
	font-style: normal;
	font-family: "微軟正黑體", "新細明體";
	padding: 1px;
}
.error {
	background-color: #FF6666;
	font-style: inherit;
	font-family: "微軟正黑體", "新細明體";
	color: #FFFFFF;
}
.ok {
	background-color: #F1F8EB;
	font-style: inherit;
	font-family: "微軟正黑體", "新細明體";
	color: #FF9900;
}
</style>
${m.exeLang}
<title>${m.title}</title>

</head>
<body>
<div align="center" class="title">
<h1><span style="font-style: normal;">${m.titleMessage}</span></h1>
<form action="loginControl.jsp" method="post">
	<p><label for="email">${m.email}</label>
	<input type="text" name="email" id="email" placeholder="qk@yyy.ccc"/>
	${m3.error[0]}</p>
	<p><label for="pw">${m.pw}</label>
	<input type="password" name="pw" id="pw" placeholder="1234"/>
	${m3.error[1]}</p>
	${m3.error[2]}
	<p><input type="button" value="${m.sign}" 
			onclick="window.location.href='sign.jsp'"/>
	<input type="submit" name="sub" value="${m.login}"/></p>
</form>
</div>
<div align="center" class="error">${m3.err}</div>
<div align="center" class="ok">${successMessage}</div>
</body>
</html>
